package com.model;

import javax.persistence.*;
import java.util.Date;
import java.math.BigDecimal;

/**
 * @author admin
 * @date
 */
@Entity
@Table(name = "t_customer", schema = "", catalog = "")
public class TCustomer {
    private Long id;
    private Integer customerType;
    private String companyName;
    private String companyLegal;
    private String companyCode;
    private Integer companyType;
    private BigDecimal companyCapital;
    private Date companyCreateTime;
    private String companyContact;
    private String companyContactPhone;
    private String companyAddress;
    private String personAddress;
    private String companyRate;
    private Date createTime;
    private Integer isDeleted;
    private Integer isBlack;
    private String personName;
    private Integer personSex;
    private Date personBirth;
    private Integer personMaritalStatus;
    private String personCensus;
    private String persionIdCard;
    private String personPhone;
    private String personSpouse;
    private String personSpouseSex;
    private String personSpouseIdCard;
    private Date personSpouseBirth;
    private String personSpouseCensus;
    private String personSpousePhone;

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    @Column(name = "id")
    public Long getId () {
        return this.id;
    }

    public void setId (Long id) {
        this.id = id;
    }

    @Column(name = "company_legal")
    public String getCompanyLegal () {
        return companyLegal;
    }

    public void setCompanyLegal (String companyLegal) {
        this.companyLegal = companyLegal;
    }

    @Column(name = "customer_type")
    public Integer getCustomerType () {
        return this.customerType;
    }

    public void setCustomerType (Integer customerType) {
        this.customerType = customerType;
    }

    @Column(name = "company_name")
    public String getCompanyName () {
        return this.companyName;
    }

    public void setCompanyName (String companyName) {
        this.companyName = companyName;
    }


    @Column(name = "company_code")
    public String getCompanyCode () {
        return this.companyCode;
    }

    public void setCompanyCode (String companyCode) {
        this.companyCode = companyCode;
    }


    @Column(name = "company_type")
    public Integer getCompanyType () {
        return this.companyType;
    }

    public void setCompanyType (Integer companyType) {
        this.companyType = companyType;
    }

    @Column(name = "company_capital")
    public BigDecimal getCompanyCapital () {
        return this.companyCapital;
    }

    public void setCompanyCapital (BigDecimal companyCapital) {
        this.companyCapital = companyCapital;
    }

    @Temporal(TemporalType.DATE)
    @Column(name = "company_create_time")
    public Date getCompanyCreateTime () {
        return this.companyCreateTime;
    }

    public void setCompanyCreateTime (Date companyCreateTime) {
        this.companyCreateTime = companyCreateTime;
    }


    @Column(name = "company_contact")
    public String getCompanyContact () {
        return this.companyContact;
    }

    public void setCompanyContact (String companyContact) {
        this.companyContact = companyContact;
    }


    @Column(name = "company_contact_phone")
    public String getCompanyContactPhone () {
        return this.companyContactPhone;
    }

    public void setCompanyContactPhone (String companyContactPhone) {
        this.companyContactPhone = companyContactPhone;
    }


    @Column(name = "company_address")
    public String getCompanyAddress () {
        return this.companyAddress;
    }

    public void setCompanyAddress (String companyAddress) {
        this.companyAddress = companyAddress;
    }


    @Column(name = "person_address")
    public String getPersonAddress () {
        return this.personAddress;
    }

    public void setPersonAddress (String personAddress) {
        this.personAddress = personAddress;
    }


    @Column(name = "company_rate")
    public String getCompanyRate () {
        return this.companyRate;
    }

    public void setCompanyRate (String companyRate) {
        this.companyRate = companyRate;
    }


    @Column(name = "create_time")
    public Date getCreateTime () {
        return this.createTime;
    }

    public void setCreateTime (Date createTime) {
        this.createTime = createTime;
    }


    @Column(name = "is_deleted")
    public Integer getIsDeleted () {
        return this.isDeleted;
    }

    public void setIsDeleted (Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    @Column(name = "is_black")
    public Integer getIsBlack () {
        return this.isBlack;
    }

    public void setIsBlack (Integer isBlack) {
        this.isBlack = isBlack;
    }

    @Column(name = "person_name")
    public String getPersonName () {
        return this.personName;
    }

    public void setPersonName (String personName) {
        this.personName = personName;
    }


    @Column(name = "person_sex")
    public Integer getPersonSex () {
        return this.personSex;
    }

    public void setPersonSex (Integer personSex) {
        this.personSex = personSex;
    }

    @Column(name = "person_birth")
    public Date getPersonBirth () {
        return this.personBirth;
    }

    public void setPersonBirth (Date personBirth) {
        this.personBirth = personBirth;
    }


    @Column(name = "person_marital_status")
    public Integer getPersonMaritalStatus () {
        return this.personMaritalStatus;
    }

    public void setPersonMaritalStatus (Integer personMaritalStatus) {
        this.personMaritalStatus = personMaritalStatus;
    }

    @Column(name = "person_census")
    public String getPersonCensus () {
        return this.personCensus;
    }

    public void setPersonCensus (String personCensus) {
        this.personCensus = personCensus;
    }


    @Column(name = "persion_id_card")
    public String getPersionIdCard () {
        return this.persionIdCard;
    }

    public void setPersionIdCard (String persionIdCard) {
        this.persionIdCard = persionIdCard;
    }


    @Column(name = "person_phone")
    public String getPersonPhone () {
        return this.personPhone;
    }

    public void setPersonPhone (String personPhone) {
        this.personPhone = personPhone;
    }


    @Column(name = "person_spouse")
    public String getPersonSpouse () {
        return this.personSpouse;
    }

    public void setPersonSpouse (String personSpouse) {
        this.personSpouse = personSpouse;
    }


    @Column(name = "person_spouse_sex")
    public String getPersonSpouseSex () {
        return this.personSpouseSex;
    }

    public void setPersonSpouseSex (String personSpouseSex) {
        this.personSpouseSex = personSpouseSex;
    }


    @Column(name = "person_spouse_id_card")
    public String getPersonSpouseIdCard () {
        return this.personSpouseIdCard;
    }

    public void setPersonSpouseIdCard (String personSpouseIdCard) {
        this.personSpouseIdCard = personSpouseIdCard;
    }


    @Column(name = "person_spouse_birth")
    public Date getPersonSpouseBirth () {
        return this.personSpouseBirth;
    }

    public void setPersonSpouseBirth (Date personSpouseBirth) {
        this.personSpouseBirth = personSpouseBirth;
    }


    @Column(name = "person_spouse_census")
    public String getPersonSpouseCensus () {
        return this.personSpouseCensus;
    }

    public void setPersonSpouseCensus (String personSpouseCensus) {
        this.personSpouseCensus = personSpouseCensus;
    }


    @Column(name = "person_spouse_phone")
    public String getPersonSpousePhone () {
        return this.personSpousePhone;
    }

    public void setPersonSpousePhone (String personSpousePhone) {
        this.personSpousePhone = personSpousePhone;
    }


}